package com.dqp.cslggroup.Util;

import android.content.Context;

import java.util.Calendar;
import java.util.Map;

/**
 * @author 董琴平
 * @version 1.0
 * @date 2021/9/3 14:18
 */
public class CookiesUtil {
    public static void save(Context context, Map<String, String> cookies) {
        SharedPreferencesUtil.setMap(context, "cookies", cookies);
        SharedPreferencesUtil.putLongSp(context, "cookiesTime", Calendar.getInstance().getTimeInMillis());
    }
}
